package com.sgqing.demo.dao;

import com.sgqing.demo.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface mapper {
    /**
     * 通过username查找用户信息;
     */
    public UserInfo findByUsername(@Param("username") String username);
}